package org.tlipoca.smchannel.client;

import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-userSubscribe")
public interface UserSubscribeClient {

    @GetMapping("/user_subscribe/subscribed")
    Result<Byte> userSubscribed(@RequestParam("type")Byte type, @RequestParam("targetId")Long targetId, @RequestParam("userId")Long userId);

}
